Building a initramfs image 您所在的位置:网站首页 openwrt initramfs itb Building a initramfs image

Building a initramfs image

2024-02-26 18:49| 来源: 网络整理| 查看: 265

hnyman:

KERNEL := kernel-bin | patch-cmdline | lzma -d20 | netgear-uImage l

I tried both the solutions suggested.

$(STAGING_DIR_HOST)/bin/lzma e $(1) -d20 $(3) $(2) $(STAGING_DIR_HOST)/bin/lzma e $(1) -lc1 -lp2 -pb2 -d20 $(3) $(2)

But the problem still persisted. The error messages were different when I TFTP ed it to 0x80060000 to 0x80010000 addresses.

ath> bootm 0x80060000 Booting image at 80060000 ... Image Name: MIPS OpenWrt Linux-4.1.23 Created: 2019-01-14 21:11:26 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 4382411 Bytes = 4.2 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum at 0x80060040 ...OK Uncompressing Kernel Image ... Too big uncompressed streamLZMA ERROR 1 - must RESET board to recover

ath> bootm 0x80010000 Booting image at 80010000 ... Image Name: MIPS OpenWrt Linux-4.1.23 Created: 2019-01-14 21:11:26 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 4382411 Bytes = 4.2 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum at 0x80010040 ...OK Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 543

Why does the u-boot have a problem when it tries to uncompress an image from RAM. The same image works fine when uncompressed from flash.

I did manager to build an initramfs without any compression but still it doesn't boot and gets stuck in "Starting the kernel...."



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有